package com.ant.backstage.facade.model;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
* Created by Mybatis Generator 2022/01/11
*/
@Data
@Accessors(chain = true)
public class UserInfo implements Serializable {
    private Integer id;

    private String uid;

    private String idcardno;

    private String cardurl;

    private String mail;

    private Date createdatetime;

    private Date lastupdatetime;

    private String avatarImgUrl;

    private Integer loginType;

    private String loginDevice;

    private String oldPwd;

    private String tagid;

    private String placeNow;

    private String company;

    private String position;

    private String motto;
    /*
     *  TINYTEXT	    256 bytes
        TEXT	            65,535 bytes	    ~64kb
        MEDIUMTEXT	    16,777,215 bytes	    ~16MB
        LONGTEXT	    4,294,967,295 bytes	    ~4GB
     */

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", uid=").append(uid);
        sb.append(", idcardno=").append(idcardno);
        sb.append(", cardurl=").append(cardurl);
        sb.append(", mail=").append(mail);
        sb.append(", createdatetime=").append(createdatetime);
        sb.append(", lastupdatetime=").append(lastupdatetime);
        sb.append(", avatarImgUrl=").append(avatarImgUrl);
        sb.append(", loginType=").append(loginType);
        sb.append(", loginDevice=").append(loginDevice);
        sb.append(", oldPwd=").append(oldPwd);
        sb.append(", tagid=").append(tagid);
        sb.append(", placeNow=").append(placeNow);
        sb.append(", company=").append(company);
        sb.append(", position=").append(position);
        sb.append(", motto=").append(motto);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}